How can I take the first values from a list of dictionaries and create another list with it